<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数字藏品 - Surreal Gallery 超现实主义数字藏品平台</title>
    <!-- 引入Font Awesome 6.4.0图标库 -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        /* 继承首页样式变量 */
        :root {
            --primary: #6a11cb;
            --secondary: #2575fc;
            --accent: #ff2e63;
            --dark: #1a1a2e;
            --light: #f0f0f0;
            --surreal-purple: #8a2be2;
            --surreal-blue: #00b4d8;
            --surreal-pink: #ff6b6b;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
            color: var(--light);
            overflow-x: hidden;
            min-height: 100vh;
        }

        /* 超现实主义背景元素 */
        .floating-elements {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        .floating-element {
            position: absolute;
            border-radius: 50%;
            opacity: 0.1;
            filter: blur(40px);
            animation: float 15s infinite ease-in-out;
        }

        .floating-element:nth-child(1) {
            width: 300px;
            height: 300px;
            background: var(--surreal-purple);
            top: 10%;
            left: 5%;
            animation-delay: 0s;
        }

        .floating-element:nth-child(2) {
            width: 200px;
            height: 200px;
            background: var(--surreal-blue);
            top: 60%;
            right: 10%;
            animation-delay: 3s;
        }

        .floating-element:nth-child(3) {
            width: 250px;
            height: 250px;
            background: var(--surreal-pink);
            bottom: 10%;
            left: 20%;
            animation-delay: 6s;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-20px) rotate(180deg);
            }
        }

        /* 导航栏 */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 5%;
            position: fixed;
            width: 100%;
            z-index: 1000;
            background: rgba(26, 26, 46, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .logo {
            font-size: 28px;
            font-weight: 700;
            background: linear-gradient(45deg, var(--surreal-purple), var(--surreal-blue));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 30px;
        }

        nav ul li a {
            color: var(--light);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        nav ul li a:hover {
            color: var(--surreal-pink);
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background: linear-gradient(45deg, var(--surreal-purple), var(--surreal-blue));
            transition: width 0.3s ease;
        }

        nav ul li a:hover::after {
            width: 100%;
        }

        .cta-button {
            background: linear-gradient(45deg, var(--surreal-purple), var(--surreal-blue));
            color: white;
            border: none;
            padding: 10px 25px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(106, 17, 203, 0.6);
        }

        /* 页面标题区域 */
        .page-header {
            padding: 150px 5% 80px;
            text-align: center;
            position: relative;
        }

        .page-title {
            font-size: 3.5rem;
            margin-bottom: 20px;
            background: linear-gradient(45deg, var(--surreal-purple), var(--surreal-blue), var(--surreal-pink));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            line-height: 1.2;
        }

        .page-subtitle {
            font-size: 1.2rem;
            max-width: 600px;
            margin: 0 auto;
            opacity: 0.8;
            line-height: 1.6;
        }

        /* 藏品列表容器 */
        .collections-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 5% 100px;
        }

        /* 搜索和筛选区域 */
        .collections-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            flex-wrap: wrap;
            gap: 20px;
        }

        .search-box {
            position: relative;
            flex: 1;
            min-width: 300px;
            max-width: 400px;
        }

        .search-box input {
            width: 100%;
            padding: 12px 20px 12px 45px;
            border-radius: 30px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.05);
            color: var(--light);
            font-size: 1rem;
            backdrop-filter: blur(10px);
            /* 只对输入框应用模糊 */
        }

        .search-box input:focus {
            outline: none;
            border-color: var(--surreal-purple);
            box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
        }

        .search-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.2rem;
            opacity: 0.7;
            z-index: 2;
            /* 确保图标在模糊层之上 */
        }

        .filter-controls {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .filter-select {
            padding: 10px 20px;
            border-radius: 30px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.05);
            color: var(--light);
            font-size: 0.95rem;
            backdrop-filter: blur(10px);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-select:focus {
            outline: none;
            border-color: var(--surreal-purple);
        }

        .view-toggle {
            display: flex;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 30px;
            padding: 5px;
            backdrop-filter: blur(10px);
        }

        .view-btn {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .view-btn.active {
            background: linear-gradient(45deg, var(--surreal-purple), var(--surreal-blue));
        }

        /* 藏品网格布局 */
        .collections-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }

        .collection-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
        }

        .collection-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        }

        .collection-image {
            width: 100%;
            height: 250px;
            background: linear-gradient(45deg, var(--surreal-purple), var(--surreal-blue));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .collection-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .collection-favorite {
            position: absolute;
            top: 15px;
            left: 15px;
            font-size: 1.6rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .collection-content {
            padding: 20px;
        }

        .collection-title {
            font-size: 1.3rem;
            margin-bottom: 10px;
            line-height: 1.3;
        }

        .collection-artist {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            opacity: 0.8;
        }

        .artist-avatar {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--surreal-purple), var(--surreal-blue));
            margin-right: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            color: white;
        }

        .collection-stats {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            font-size: 0.9rem;
            opacity: 0.7;
        }

        .collection-price {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .price {
            font-weight: 700;
            color: var(--surreal-pink);
            font-size: 1.2rem;
        }

        .buy-button {
            background: linear-gradient(45deg, var(--surreal-purple), var(--surreal-blue));
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 20px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .buy-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
        }

        /* 列表视图样式 */
        .collections-grid.list-view {
            grid-template-columns: 1fr;
        }

        .collection-card.list-view {
            display: flex;
            height: 200px;
        }

        .collection-card.list-view .collection-image {
            width: 200px;
            height: 100%;
            flex-shrink: 0;
        }

        .collection-card.list-view .collection-content {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .collection-card.list-view .collection-price {
            margin-top: 0;
            padding-top: 0;
            border-top: none;
            justify-content: flex-end;
            gap: 15px;
        }

        /* 加载更多 */
        .load-more {
            text-align: center;
            margin-top: 60px;
        }

        /* 页脚 */
        footer {
            background: rgba(0, 0, 0, 0.5);
            padding: 50px 5% 20px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-column h3 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            color: var(--surreal-blue);
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column ul li {
            margin-bottom: 10px;
        }

        .footer-column ul li a {
            color: var(--light);
            text-decoration: none;
            opacity: 0.7;
            transition: all 0.3s ease;
        }

        .footer-column ul li a:hover {
            opacity: 1;
            color: var(--surreal-pink);
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background: var(--surreal-purple);
            transform: translateY(-3px);
        }

        .social-links a {
            text-decoration: none;
            color: #fff;
        }

        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0.7;
        }

        /* 响应式设计 */
        @media (max-width: 968px) {
            .page-title {
                font-size: 2.8rem;
            }

            .collections-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            }

            .collection-card.list-view {
                flex-direction: column;
                height: auto;
            }

            .collection-card.list-view .collection-image {
                width: 100%;
                height: 200px;
            }
        }

        @media (max-width: 768px) {
            nav ul {
                display: none;
            }

            .page-header {
                padding: 130px 5% 60px;
            }

            .page-title {
                font-size: 2.2rem;
            }

            .collections-controls {
                flex-direction: column;
                align-items: stretch;
            }

            .search-box {
                min-width: 100%;
                max-width: 100%;
            }

            .filter-controls {
                justify-content: space-between;
            }

            .collections-grid {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>

<body>
    <!-- 超现实主义背景元素 -->
    <div class="floating-elements">
        <div class="floating-element"></div>
        <div class="floating-element"></div>
        <div class="floating-element"></div>
    </div>

    <!-- 导航栏 -->
    <header>
        <div class="logo">Surreal Gallery</div>
        <nav>
            <ul>
                <li><a href="index.html">首页</a></li>
                <li><a href="collections.html" class="active">数字藏品</a></li>
                <li><a href="#artists">艺术家</a></li>
                <li><a href="news.html">新闻动态</a></li>
                <li><a href="#faq">常见问题</a></li>
            </ul>
        </nav>
        <button class="cta-button">连接钱包</button>
    </header>

    <!-- 页面标题区域 -->
    <section class="page-header">
        <h1 class="page-title">数字藏品</h1>
        <p class="page-subtitle">探索独一无二的超现实主义数字艺术品，发现来自全球顶尖艺术家的创意之作</p>
    </section>

    <!-- 藏品列表容器 -->
    <section class="collections-container">
        <!-- 搜索和筛选区域 -->
        <div class="collections-controls">
            <div class="search-box">
                <span class="search-icon"><i class="fas fa-search"></i></span>
                <input type="text" placeholder="搜索藏品、艺术家或关键词...">
            </div>
            <div class="filter-controls">
                <select class="filter-select">
                    <option>所有类别</option>
                    <option>超现实主义</option>
                    <option>抽象艺术</option>
                    <option>数字绘画</option>
                    <option>3D艺术</option>
                </select>
                <select class="filter-select">
                    <option>价格排序</option>
                    <option>从低到高</option>
                    <option>从高到低</option>
                </select>
                <select class="filter-select">
                    <option>上架时间</option>
                    <option>最新上架</option>
                    <option>即将结束</option>
                </select>
                <div class="view-toggle">
                    <div class="view-btn active" data-view="grid"><i class="fas fa-th"></i></div>
                    <div class="view-btn" data-view="list"><i class="fas fa-list"></i></div>
                </div>
            </div>
        </div>

        <!-- 藏品网格布局 -->
        <div class="collections-grid" id="collectionsGrid">
            <!-- 藏品项 1 -->
            <div class="collection-card">
                <div class="collection-image">
                    <div class="collection-badge">限量版</div>
                    <div class="collection-favorite"><i class="fas fa-heart"></i></div>
                    <i class="fas fa-paint-brush"></i>
                </div>
                <div class="collection-content">
                    <h3 class="collection-title">梦境独角兽</h3>
                    <div class="collection-artist">
                        <div class="artist-avatar">LD</div>
                        <span>Luna Dreamer</span>
                    </div>
                    <div class="collection-stats">
                        <span>版本: 1/10</span>
                        <span>区块链: Ethereum</span>
                    </div>
                    <p>超现实主义艺术家Luna创作的梦幻生物，融合现实与幻想元素。</p>
                    <div class="collection-price">
                        <span class="price">2.5 ETH</span>
                        <button class="buy-button">购买</button>
                    </div>
                </div>
            </div>

            <!-- 藏品项 2 -->
            <div class="collection-card">
                <div class="collection-image">
                    <div class="collection-badge">热卖中</div>
                    <div class="collection-favorite"><i class="fas fa-heart"></i></div>
                    <i class="fas fa-clock"></i>
                </div>
                <div class="collection-content">
                    <h3 class="collection-title">时间之河</h3>
                    <div class="collection-artist">
                        <div class="artist-avatar">SR</div>
                        <span>Salvador Reality</span>
                    </div>
                    <div class="collection-stats">
                        <span>版本: 5/50</span>
                        <span>区块链: Polygon</span>
                    </div>
                    <p>流动的时间概念在超现实维度中的具象化表现。</p>
                    <div class="collection-price">
                        <span class="price">1.8 ETH</span>
                        <button class="buy-button">购买</button>
                    </div>
                </div>
            </div>

            <!-- 藏品项 3 -->
            <div class="collection-card">
                <div class="collection-image">
                    <div class="collection-badge">独家</div>
                    <div class="collection-favorite"><i class="fas fa-heart"></i></div>
                    <i class="fas fa-building"></i>
                </div>
                <div class="collection-content">
                    <h3 class="collection-title">悬浮都市</h3>
                    <div class="collection-artist">
                        <div class="artist-avatar">VM</div>
                        <span>Vera Mirage</span>
                    </div>
                    <div class="collection-stats">
                        <span>版本: 1/1</span>
                        <span>区块链: Ethereum</span>
                    </div>
                    <p>反重力建筑群在云端漂浮的超现实城市景观。</p>
                    <div class="collection-price">
                        <span class="price">3.2 ETH</span>
                        <button class="buy-button">购买</button>
                    </div>
                </div>
            </div>

            <!-- 藏品项 4 -->
            <div class="collection-card">
                <div class="collection-image">
                    <div class="collection-badge">新上架</div>
                    <div class="collection-favorite"><i class="fas fa-heart"></i></div>
                    <i class="fas fa-star"></i>
                </div>
                <div class="collection-content">
                    <h3 class="collection-title">星际之门</h3>
                    <div class="collection-artist">
                        <div class="artist-avatar">FD</div>
                        <span>Fiona Dimension</span>
                    </div>
                    <div class="collection-stats">
                        <span>版本: 15/100</span>
                        <span>区块链: Solana</span>
                    </div>
                    <p>连接不同维度的神秘门户，探索未知宇宙的奥秘。</p>
                    <div class="collection-price">
                        <span class="price">0.8 ETH</span>
                        <button class="buy-button">购买</button>
                    </div>
                </div>
            </div>

            <!-- 藏品项 5 -->
            <div class="collection-card">
                <div class="collection-image">
                    <div class="collection-badge">拍卖中</div>
                    <div class="collection-favorite"><i class="fas fa-heart"></i></div>
                    <i class="fas fa-rotate"></i>
                </div>
                <div class="collection-content">
                    <h3 class="collection-title">意识漩涡</h3>
                    <div class="collection-artist">
                        <div class="artist-avatar">MS</div>
                        <span>Max Surreal</span>
                    </div>
                    <div class="collection-stats">
                        <span>版本: 1/5</span>
                        <span>区块链: Ethereum</span>
                    </div>
                    <p>人类思维与潜意识交织形成的视觉漩涡。</p>
                    <div class="collection-price">
                        <span class="price">竞拍中</span>
                        <button class="buy-button">参与竞拍</button>
                    </div>
                </div>
            </div>

            <!-- 藏品项 6 -->
            <div class="collection-card">
                <div class="collection-image">
                    <div class="collection-badge">限量版</div>
                    <div class="collection-favorite"><i class="fas fa-heart"></i></div>
                    <i class="fas fa-leaf"></i>
                </div>
                <div class="collection-content">
                    <h3 class="collection-title">幻影蝴蝶</h3>
                    <div class="collection-artist">
                        <div class="artist-avatar">LD</div>
                        <span>Luna Dreamer</span>
                    </div>
                    <div class="collection-stats">
                        <span>版本: 3/25</span>
                        <span>区块链: Polygon</span>
                    </div>
                    <p>在现实与梦境之间翩翩起舞的神秘生物。</p>
                    <div class="collection-price">
                        <span class="price">1.2 ETH</span>
                        <button class="buy-button">购买</button>
                    </div>
                </div>
            </div>
        </div>

        <!-- 加载更多 -->
        <div class="load-more">
            <button class="cta-button">加载更多藏品</button>
        </div>
    </section>

    <!-- 页脚 -->
    <footer>
        <div class="footer-content">
            <div class="footer-column">
                <h3>Surreal Gallery</h3>
                <p>探索超现实数字艺术的新维度，发现独一无二的数字藏品。</p>
                <div class="social-links">
                    <a href="#" class="social-link"><i class="fab fa-facebook-f"></i></a>
                    <a href="#" class="social-link"><i class="fab fa-twitter"></i></a>
                    <a href="#" class="social-link"><i class="fab fa-instagram"></i></a>
                    <a href="#" class="social-link"><i class="fab fa-weixin"></i></a>
                </div>
            </div>
            <div class="footer-column">
                <h3>快速链接</h3>
                <ul>
                    <li><a href="index.html">首页</a></li>
                    <li><a href="collections.html">数字藏品</a></li>
                    <li><a href="#artists">艺术家</a></li>
                    <li><a href="news.html">新闻动态</a></li>
                </ul>
            </div>
            <div class="footer-column">
                <h3>支持</h3>
                <ul>
                    <li><a href="#"><i class="fas fa-question-circle"></i> 帮助中心</a></li>
                    <li><a href="#"><i class="fas fa-envelope"></i> 联系我们</a></li>
                    <li><a href="#"><i class="fas fa-users"></i> 社区指南</a></li>
                    <li><a href="#"><i class="fas fa-file-alt"></i> 服务条款</a></li>
                </ul>
            </div>
            <div class="footer-column">
                <h3>订阅更新</h3>
                <p>订阅我们的新闻通讯，获取最新藏品和活动信息。</p>
                <form>
                    <input type="email" placeholder="您的电子邮箱"
                        style="width: 100%; padding: 10px; margin: 10px 0; border-radius: 5px; border: none; background: rgba(255,255,255,0.1); color: white;">
                    <button type="submit" class="cta-button" style="width: 100%;">订阅</button>
                </form>
            </div>
        </div>
        <div class="copyright">
            <p>&copy; 2023 Surreal Gallery. 保留所有权利。</p>
        </div>
    </footer>

    <script>
        // 视图切换
        document.querySelectorAll('.view-btn').forEach(btn => {
            btn.addEventListener('click', function () {
                document.querySelectorAll('.view-btn').forEach(b => b.classList.remove('active'));
                this.classList.add('active');

                const viewType = this.getAttribute('data-view');
                const grid = document.getElementById('collectionsGrid');

                if (viewType === 'list') {
                    grid.classList.add('list-view');
                } else {
                    grid.classList.remove('list-view');
                }
            });
        });

        // 收藏功能
        document.querySelectorAll('.collection-favorite').forEach(heart => {
            heart.addEventListener('click', function () {
                const icon = this.querySelector('i');
                if (icon.classList.contains('fas')) {
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                } else {
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                }
            });
        });

        // 购买按钮交互
        document.querySelectorAll('.buy-button').forEach(button => {
            button.addEventListener('click', function () {
                // 这里可以添加购买逻辑
                alert('购买功能即将实现！');
            });
        });

        // 筛选功能
        document.querySelectorAll('.filter-select').forEach(select => {
            select.addEventListener('change', function () {
                // 这里可以添加筛选逻辑
                console.log('筛选条件改变:', this.value);
            });
        });

        // 搜索功能
        const searchInput = document.querySelector('.search-box input');
        searchInput.addEventListener('input', function () {
            // 这里可以添加搜索逻辑
            console.log('搜索关键词:', this.value);
        });

        // 加载更多
        document.querySelector('.load-more button').addEventListener('click', function () {
            // 这里可以添加加载更多逻辑
            alert('加载更多功能即将实现！');
        });

        // 平滑滚动
        document.querySelectorAll('nav a').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                if (this.getAttribute('href').startsWith('#')) {
                    e.preventDefault();

                    const targetId = this.getAttribute('href');
                    const targetElement = document.querySelector(targetId);

                    if (targetElement) {
                        window.scrollTo({
                            top: targetElement.offsetTop - 80,
                            behavior: 'smooth'
                        });
                    }
                }
            });
        });
    </script>
</body>

</html>